Optimal. Leaf size=331 \[ \frac {(a e+c d x) \sqrt {d+e x}}{a \left (c d^2+a e^2\right ) \sqrt {a+c x^2}}-\frac {\sqrt {c} d \sqrt {d+e x} \sqrt {1+\frac {c x^2}{a}} E\left (\sin ^{-1}\left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{\sqrt {-a} \left (c d^2+a e^2\right ) \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}} \sqrt {a+c x^2}}+\frac {\sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}} \sqrt {1+\frac {c x^2}{a}} F\left (\sin ^{-1}\left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{\sqrt {-a} \sqrt {c} \sqrt {d+e x} \sqrt {a+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 331, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {755, 858, 733,
435, 430} \begin {gather*} -\frac {\sqrt {c} d \sqrt {\frac {c x^2}{a}+1} \sqrt {d+e x} E\left (\text {ArcSin}\left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{\sqrt {-a} \sqrt {a+c x^2} \left (a e^2+c d^2\right ) \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {-a} e+\sqrt {c} d}}}+\frac {\sqrt {\frac {c x^2}{a}+1} \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {-a} e+\sqrt {c} d}} F\left (\text {ArcSin}\left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{\sqrt {-a} \sqrt {c} \sqrt {a+c x^2} \sqrt {d+e x}}+\frac {\sqrt {d+e x} (a e+c d x)}{a \sqrt {a+c x^2} \left (a e^2+c d^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 430
Rule 435
Rule 733
Rule 755
Rule 858
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {d+e x} \left (a+c x^2\right )^{3/2}} \, dx &=\frac {(a e+c d x) \sqrt {d+e x}}{a \left (c d^2+a e^2\right ) \sqrt {a+c x^2}}-\frac {\int \frac {-\frac {a e^2}{2}+\frac {1}{2} c d e x}{\sqrt {d+e x} \sqrt {a+c x^2}} \, dx}{a \left (c d^2+a e^2\right )}\\ &=\frac {(a e+c d x) \sqrt {d+e x}}{a \left (c d^2+a e^2\right ) \sqrt {a+c x^2}}+\frac {\int \frac {1}{\sqrt {d+e x} \sqrt {a+c x^2}} \, dx}{2 a}-\frac {(c d) \int \frac {\sqrt {d+e x}}{\sqrt {a+c x^2}} \, dx}{2 a \left (c d^2+a e^2\right )}\\ &=\frac {(a e+c d x) \sqrt {d+e x}}{a \left (c d^2+a e^2\right ) \sqrt {a+c x^2}}-\frac {\left (\sqrt {c} d \sqrt {d+e x} \sqrt {1+\frac {c x^2}{a}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {2 a \sqrt {c} e x^2}{\sqrt {-a} \left (c d-\frac {a \sqrt {c} e}{\sqrt {-a}}\right )}}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )}{\sqrt {-a} \left (c d^2+a e^2\right ) \sqrt {\frac {c (d+e x)}{c d-\frac {a \sqrt {c} e}{\sqrt {-a}}}} \sqrt {a+c x^2}}+\frac {\left (\sqrt {\frac {c (d+e x)}{c d-\frac {a \sqrt {c} e}{\sqrt {-a}}}} \sqrt {1+\frac {c x^2}{a}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+\frac {2 a \sqrt {c} e x^2}{\sqrt {-a} \left (c d-\frac {a \sqrt {c} e}{\sqrt {-a}}\right )}}} \, dx,x,\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )}{\sqrt {-a} \sqrt {c} \sqrt {d+e x} \sqrt {a+c x^2}}\\ &=\frac {(a e+c d x) \sqrt {d+e x}}{a \left (c d^2+a e^2\right ) \sqrt {a+c x^2}}-\frac {\sqrt {c} d \sqrt {d+e x} \sqrt {1+\frac {c x^2}{a}} E\left (\sin ^{-1}\left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{\sqrt {-a} \left (c d^2+a e^2\right ) \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}} \sqrt {a+c x^2}}+\frac {\sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}} \sqrt {1+\frac {c x^2}{a}} F\left (\sin ^{-1}\left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{\sqrt {-a} \sqrt {c} \sqrt {d+e x} \sqrt {a+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 10.65, size = 430, normalized size = 1.30 \begin {gather*} \frac {e \left (\sqrt {c} d-i \sqrt {a} e\right ) \sqrt {-d-\frac {i \sqrt {a} e}{\sqrt {c}}} x+i \sqrt {c} d \sqrt {\frac {e \left (\frac {i \sqrt {a}}{\sqrt {c}}+x\right )}{d+e x}} \sqrt {-\frac {\frac {i \sqrt {a} e}{\sqrt {c}}-e x}{d+e x}} (d+e x)^{3/2} E\left (i \sinh ^{-1}\left (\frac {\sqrt {-d-\frac {i \sqrt {a} e}{\sqrt {c}}}}{\sqrt {d+e x}}\right )|\frac {\sqrt {c} d-i \sqrt {a} e}{\sqrt {c} d+i \sqrt {a} e}\right )+\sqrt {a} e \sqrt {\frac {e \left (\frac {i \sqrt {a}}{\sqrt {c}}+x\right )}{d+e x}} \sqrt {-\frac {\frac {i \sqrt {a} e}{\sqrt {c}}-e x}{d+e x}} (d+e x)^{3/2} F\left (i \sinh ^{-1}\left (\frac {\sqrt {-d-\frac {i \sqrt {a} e}{\sqrt {c}}}}{\sqrt {d+e x}}\right )|\frac {\sqrt {c} d-i \sqrt {a} e}{\sqrt {c} d+i \sqrt {a} e}\right )}{a e \left (\sqrt {c} d-i \sqrt {a} e\right ) \sqrt {-d-\frac {i \sqrt {a} e}{\sqrt {c}}} \sqrt {d+e x} \sqrt {a+c x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(695\) vs.
\(2(271)=542\).
time = 0.46, size = 696, normalized size = 2.10
method | result | size |
elliptic | \(\frac {\sqrt {\left (e x +d \right ) \left (c \,x^{2}+a \right )}\, \left (-\frac {2 \left (c e x +c d \right ) \left (-\frac {d x}{2 \left (e^{2} a +c \,d^{2}\right ) a}-\frac {e}{2 \left (e^{2} a +c \,d^{2}\right ) c}\right )}{\sqrt {\left (x^{2}+\frac {a}{c}\right ) \left (c e x +c d \right )}}+\frac {2 \left (\frac {1}{a}-\frac {e^{2}}{2 \left (e^{2} a +c \,d^{2}\right )}-\frac {c \,d^{2}}{a \left (e^{2} a +c \,d^{2}\right )}\right ) \left (\frac {d}{e}-\frac {\sqrt {-a c}}{c}\right ) \sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\, \sqrt {\frac {x -\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\, \sqrt {\frac {x +\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}}\, \EllipticF \left (\sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}, \sqrt {\frac {-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\right )}{\sqrt {c e \,x^{3}+c d \,x^{2}+a e x +a d}}-\frac {c d e \left (\frac {d}{e}-\frac {\sqrt {-a c}}{c}\right ) \sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\, \sqrt {\frac {x -\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\, \sqrt {\frac {x +\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}}\, \left (\left (-\frac {d}{e}-\frac {\sqrt {-a c}}{c}\right ) \EllipticE \left (\sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}, \sqrt {\frac {-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\right )+\frac {\sqrt {-a c}\, \EllipticF \left (\sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}, \sqrt {\frac {-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\right )}{c}\right )}{\left (e^{2} a +c \,d^{2}\right ) a \sqrt {c e \,x^{3}+c d \,x^{2}+a e x +a d}}\right )}{\sqrt {e x +d}\, \sqrt {c \,x^{2}+a}}\) | \(687\) |
default | \(\frac {\left (-\sqrt {-a c}\, \sqrt {-\frac {\left (e x +d \right ) c}{\sqrt {-a c}\, e -c d}}\, \sqrt {\frac {\left (-c x +\sqrt {-a c}\right ) e}{\sqrt {-a c}\, e +c d}}\, \sqrt {\frac {\left (c x +\sqrt {-a c}\right ) e}{\sqrt {-a c}\, e -c d}}\, \EllipticF \left (\sqrt {-\frac {\left (e x +d \right ) c}{\sqrt {-a c}\, e -c d}}, \sqrt {-\frac {\sqrt {-a c}\, e -c d}{\sqrt {-a c}\, e +c d}}\right ) a \,e^{3}-\sqrt {-a c}\, \sqrt {-\frac {\left (e x +d \right ) c}{\sqrt {-a c}\, e -c d}}\, \sqrt {\frac {\left (-c x +\sqrt {-a c}\right ) e}{\sqrt {-a c}\, e +c d}}\, \sqrt {\frac {\left (c x +\sqrt {-a c}\right ) e}{\sqrt {-a c}\, e -c d}}\, \EllipticF \left (\sqrt {-\frac {\left (e x +d \right ) c}{\sqrt {-a c}\, e -c d}}, \sqrt {-\frac {\sqrt {-a c}\, e -c d}{\sqrt {-a c}\, e +c d}}\right ) c \,d^{2} e +a c \sqrt {-\frac {\left (e x +d \right ) c}{\sqrt {-a c}\, e -c d}}\, \sqrt {\frac {\left (-c x +\sqrt {-a c}\right ) e}{\sqrt {-a c}\, e +c d}}\, \sqrt {\frac {\left (c x +\sqrt {-a c}\right ) e}{\sqrt {-a c}\, e -c d}}\, \EllipticE \left (\sqrt {-\frac {\left (e x +d \right ) c}{\sqrt {-a c}\, e -c d}}, \sqrt {-\frac {\sqrt {-a c}\, e -c d}{\sqrt {-a c}\, e +c d}}\right ) d \,e^{2}+\sqrt {-\frac {\left (e x +d \right ) c}{\sqrt {-a c}\, e -c d}}\, \sqrt {\frac {\left (-c x +\sqrt {-a c}\right ) e}{\sqrt {-a c}\, e +c d}}\, \sqrt {\frac {\left (c x +\sqrt {-a c}\right ) e}{\sqrt {-a c}\, e -c d}}\, \EllipticE \left (\sqrt {-\frac {\left (e x +d \right ) c}{\sqrt {-a c}\, e -c d}}, \sqrt {-\frac {\sqrt {-a c}\, e -c d}{\sqrt {-a c}\, e +c d}}\right ) c^{2} d^{3}+c^{2} d \,e^{2} x^{2}+a c \,e^{3} x +c^{2} d^{2} e x +a d \,e^{2} c \right ) \sqrt {e x +d}\, \sqrt {c \,x^{2}+a}}{c e a \left (e^{2} a +c \,d^{2}\right ) \left (c e \,x^{3}+c d \,x^{2}+a e x +a d \right )}\) | \(696\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 2.01, size = 276, normalized size = 0.83 \begin {gather*} \frac {{\left (c^{2} d^{2} x^{2} + a c d^{2} + 3 \, {\left (a c x^{2} + a^{2}\right )} e^{2}\right )} \sqrt {c} e^{\frac {1}{2}} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c d^{2} - 3 \, a e^{2}\right )} e^{\left (-2\right )}}{3 \, c}, -\frac {8 \, {\left (c d^{3} + 9 \, a d e^{2}\right )} e^{\left (-3\right )}}{27 \, c}, \frac {1}{3} \, {\left (3 \, x e + d\right )} e^{\left (-1\right )}\right ) + 3 \, {\left (c^{2} d x^{2} + a c d\right )} \sqrt {c} e^{\frac {3}{2}} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c d^{2} - 3 \, a e^{2}\right )} e^{\left (-2\right )}}{3 \, c}, -\frac {8 \, {\left (c d^{3} + 9 \, a d e^{2}\right )} e^{\left (-3\right )}}{27 \, c}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c d^{2} - 3 \, a e^{2}\right )} e^{\left (-2\right )}}{3 \, c}, -\frac {8 \, {\left (c d^{3} + 9 \, a d e^{2}\right )} e^{\left (-3\right )}}{27 \, c}, \frac {1}{3} \, {\left (3 \, x e + d\right )} e^{\left (-1\right )}\right )\right ) + 3 \, {\left (c^{2} d x e + a c e^{2}\right )} \sqrt {c x^{2} + a} \sqrt {x e + d}}{3 \, {\left ({\left (a^{2} c^{2} x^{2} + a^{3} c\right )} e^{3} + {\left (a c^{3} d^{2} x^{2} + a^{2} c^{2} d^{2}\right )} e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a + c x^{2}\right )^{\frac {3}{2}} \sqrt {d + e x}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{{\left (c\,x^2+a\right )}^{3/2}\,\sqrt {d+e\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________